package com.yunyike.app.constants;

import java.math.BigDecimal;

public class CommonConstant {

	public static final String SHOPPER_CONNECT_USER = "93or-u40ej";
	/***************shopper用户登录有效期*****************/
	public static final int SHOPPER_KEY_ET = 7 * 24 * 60 * 60;
	
	/***************用户******************/
	/*public static final String USER_KEY_PREFIX	 = "wap.user.";
	public static final int USER_KEY_ET = 60*60;	// 登录有效期：1小时
	public static final String USER_KEY_COOKIE = "yunyike_wap_session_id";
	*/
	/***************导购ID******************/
	public static final String SHOPPER_ID = "seft-help";
	/***************商品******************/
	public static final double DISCOUNT = 1;
	
	/***************不满包邮时单箱邮费 欧元******************/
	public static final BigDecimal SINGLE_BOX_FREIGHT = new BigDecimal(10);// 单箱运费10欧元
	/***************包邮底限金额 欧元*****************/
	public static final BigDecimal FREE_SHIPMENT_AMOUNT = new BigDecimal(88);
	/***************单箱限重  斤*****************/
	public static final int FREE_SHIPMENT_WEIGHT = 1800;
	
	
	/***************wap的数字共通******************/
	public static final int NUMBER_0	 = 0;
	public static final int NUMBER_1	 = 1;
	public static final int NUMBER_2	 = 2;
	public static final int NUMBER_3	 = 3;
	public static final int NUMBER_4	 = 4;
	public static final int NUMBER_5	 = 5;
	public static final int NUMBER_6	 = 6;
	public static final int NUMBER_7	 = 7;
	public static final int NUMBER_8	 = 8;
	public static final int NUMBER_9	 = 9;
	
	public static final String APP_KEY = "100001";
	public static final String APP_SECRET = "a4160d00-b083-40f9-a749-07aef8781d52";
//	public static final String UPLOAD_IMG_PATH = "/usr/local/tomcat/webapps/yunyike-app-web/upload/";
	public static final String UPLOAD_IMG_PATH = "/usr/local/tomcat/webapps/upload/";
	public static final String SHOW_IMG_PATH = "/yunyike-app-web/upload/";
}
